package com.xszx.server.mapper;

import com.xszx.server.dto.Page;
import com.xszx.server.entity.Chapter;
import com.xszx.server.entity.Member;

import java.util.List;

public interface MemberMapper {
    //查询全部的会员
    List<Member> findAll(Page page);

    //统计当前表中的数据条数
    int findCount();

    int deleteByPrimaryKey(String id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(String id);

    Member findMemberByMobile(String mobile);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);
}
